package com.magnificent.panda.model.generator.log.taxi.driver;

import com.magnificent.panda.model.generator.log.taxi.TaxiConstants;

/**
 * User: Babanin
 * Date: 03.10.2009
 * Time: 15:33:15
 */
public class RefuseOrder extends DriverOrderAction {
    public RefuseOrder(int driverId, int orderId) {
        this.driverId = driverId;
        this.orderId = orderId;
    }

    public int getDriverId() {
        return driverId;
    }

    public void setDriverId(int driverId) {
        this.driverId = driverId;
    }

    public String toString() {
        return String.format(TaxiConstants.REFUSE_ORDER, TaxiConstants.DATE_FORMAT.format(getDate()), orderId, driverId);
    }
}

  /* converted to utf8 */